name: code
run_id: commands[0]
env HOME: /home/jenkins
env LANG: C.UTF-8
env PATH: /w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/bin:/opt/pyenv/bin:/tmp/venv-vBC8/bin:/opt/pyenv/shims:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin
env PIP_DISABLE_PIP_VERSION_CHECK: 1
env PIP_USER: 0
env PYTHONHASHSEED: 109825259
env PYTHONIOENCODING: utf-8
env SSH_AGENT_PID: 1625
env SSH_AUTH_SOCK: ********************************
env TOX_ENV_DIR: /w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code
env TOX_ENV_NAME: code
env TOX_WORK_DIR: /w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox
env VIRTUAL_ENV: /w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code
env __TOX_ENVIRONMENT_VARIABLE_ORIGINAL_CI: true
env cd: /w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/tests
metadata pid: 2497
cwd: /w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube
allow: /w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/bin/*:git
cmd: pytest --cov-report term-missing --cov-report xml --cov-report html --cov-fail-under=30 --junitxml=/tmp/tests.xml --cov=/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/dataextraction/ --ignore=/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/component-testing
exit_code: 1
============================= test session starts ==============================
platform linux -- Python 3.10.6, pytest-9.0.3, pluggy-1.6.0
cachedir: .tox/code/.pytest_cache
rootdir: /w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube
plugins: cov-7.1.0
collected 12 items

standard error:
Error in sys.excepthook:
Traceback (most recent call last):
  File "/opt/pyenv/versions/3.10.6/lib/python3.10/genericpath.py", line 19, in exists
    os.stat(path)
TypeError: stat: path should be string, bytes, os.PathLike or integer, not list

Original exception was:
Traceback (most recent call last):
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/_pytest/runner.py", line 353, in from_call
    result: TResult | None = func()
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/_pytest/runner.py", line 398, in collect
    return list(collector.collect())
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/_pytest/python.py", line 563, in collect
    self._register_setup_module_fixture()
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/_pytest/python.py", line 576, in _register_setup_module_fixture
    self.obj, ("setUpModule", "setup_module")
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/_pytest/python.py", line 289, in obj
    self._obj = obj = self._getobj()
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/_pytest/python.py", line 560, in _getobj
    return importtestmodule(self.path, self.config)
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/_pytest/python.py", line 507, in importtestmodule
    mod = import_path(
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/_pytest/pathlib.py", line 587, in import_path
    importlib.import_module(module_name)
  File "/opt/pyenv/versions/3.10.6/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/_pytest/assertion/rewrite.py", line 197, in exec_module
    exec(co, module.__dict__)
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/coverage/control.py", line 454, in _should_trace
    disp = self._inorout.should_trace(filename, frame)
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/coverage/inorout.py", line 353, in should_trace
    self.set_matchers_depending_on_syspath()
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/coverage/inorout.py", line 303, in set_matchers_depending_on_syspath
    self._debug("sys.path:" + "".join(f"\n    {_dir_detail(d)}" for d in sys.path))
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/coverage/inorout.py", line 303, in <genexpr>
    self._debug("sys.path:" + "".join(f"\n    {_dir_detail(d)}" for d in sys.path))
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/coverage/inorout.py", line 189, in _dir_detail
    detail = _analyze_directory(d)
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/coverage/inorout.py", line 174, in _analyze_directory
    detail = DirectoryDetail(exists=os.path.exists(d), venv=None)
  File "/opt/pyenv/versions/3.10.6/lib/python3.10/genericpath.py", line 19, in exists
    os.stat(path)
TypeError: stat: path should be string, bytes, os.PathLike or integer, not list

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/_pytest/main.py", line 318, in wrap_session
    session.exitstatus = doit(config, session) or 0
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/_pytest/main.py", line 371, in _main
    config.hook.pytest_collection(session=session)
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/pluggy/_hooks.py", line 512, in __call__
    return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec
    return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall
    raise exception
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/pluggy/_callers.py", line 139, in _multicall
    teardown.throw(exception)
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/_pytest/logging.py", line 788, in pytest_collection
    return (yield)
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/pluggy/_callers.py", line 139, in _multicall
    teardown.throw(exception)
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/_pytest/warnings.py", line 98, in pytest_collection
    return (yield)
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/pluggy/_callers.py", line 139, in _multicall
    teardown.throw(exception)
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/_pytest/config/__init__.py", line 1409, in pytest_collection
    return (yield)
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/pluggy/_callers.py", line 121, in _multicall
    res = hook_impl.function(*args)
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/_pytest/main.py", line 382, in pytest_collection
    session.perform_collect()
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/_pytest/main.py", line 857, in perform_collect
    self.items.extend(self.genitems(node))
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/_pytest/main.py", line 1023, in genitems
    yield from self.genitems(subnode)
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/_pytest/main.py", line 1023, in genitems
    yield from self.genitems(subnode)
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/_pytest/main.py", line 1020, in genitems
    rep, duplicate = self._collect_one_node(node, handle_dupes)
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/_pytest/main.py", line 883, in _collect_one_node
    rep = collect_one_node(node)
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/_pytest/runner.py", line 576, in collect_one_node
    rep: CollectReport = ihook.pytest_make_collect_report(collector=collector)
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/pluggy/_hooks.py", line 512, in __call__
    return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec
    return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall
    raise exception
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/pluggy/_callers.py", line 139, in _multicall
    teardown.throw(exception)
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/_pytest/capture.py", line 880, in pytest_make_collect_report
    rep = yield
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/pluggy/_callers.py", line 121, in _multicall
    res = hook_impl.function(*args)
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/_pytest/runner.py", line 400, in pytest_make_collect_report
    call = CallInfo.from_call(
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/_pytest/runner.py", line 355, in from_call
    excinfo = ExceptionInfo.from_current()
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/coverage/control.py", line 454, in _should_trace
    disp = self._inorout.should_trace(filename, frame)
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/coverage/inorout.py", line 353, in should_trace
    self.set_matchers_depending_on_syspath()
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/coverage/inorout.py", line 303, in set_matchers_depending_on_syspath
    self._debug("sys.path:" + "".join(f"\n    {_dir_detail(d)}" for d in sys.path))
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/coverage/inorout.py", line 303, in <genexpr>
    self._debug("sys.path:" + "".join(f"\n    {_dir_detail(d)}" for d in sys.path))
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/coverage/inorout.py", line 189, in _dir_detail
    detail = _analyze_directory(d)
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/coverage/inorout.py", line 174, in _analyze_directory
    detail = DirectoryDetail(exists=os.path.exists(d), venv=None)
  File "/opt/pyenv/versions/3.10.6/lib/python3.10/genericpath.py", line 19, in exists
    os.stat(path)
TypeError: stat: path should be string, bytes, os.PathLike or integer, not list

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/_pytest/main.py", line 336, in wrap_session
    excinfo = _pytest._code.ExceptionInfo.from_current()
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/coverage/control.py", line 454, in _should_trace
    disp = self._inorout.should_trace(filename, frame)
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/coverage/inorout.py", line 353, in should_trace
    self.set_matchers_depending_on_syspath()
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/coverage/inorout.py", line 303, in set_matchers_depending_on_syspath
    self._debug("sys.path:" + "".join(f"\n    {_dir_detail(d)}" for d in sys.path))
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/coverage/inorout.py", line 303, in <genexpr>
    self._debug("sys.path:" + "".join(f"\n    {_dir_detail(d)}" for d in sys.path))
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/coverage/inorout.py", line 189, in _dir_detail
    detail = _analyze_directory(d)
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/coverage/inorout.py", line 174, in _analyze_directory
    detail = DirectoryDetail(exists=os.path.exists(d), venv=None)
  File "/opt/pyenv/versions/3.10.6/lib/python3.10/genericpath.py", line 19, in exists
    os.stat(path)
TypeError: stat: path should be string, bytes, os.PathLike or integer, not list

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/bin/pytest", line 6, in <module>
    sys.exit(console_main())
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/_pytest/config/__init__.py", line 223, in console_main
    code = main()
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/_pytest/config/__init__.py", line 199, in main
    ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config)
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/pluggy/_hooks.py", line 512, in __call__
    return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec
    return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall
    raise exception
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/pluggy/_callers.py", line 121, in _multicall
    res = hook_impl.function(*args)
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/_pytest/main.py", line 365, in pytest_cmdline_main
    return wrap_session(config, _main)
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/_pytest/main.py", line 353, in wrap_session
    config.hook.pytest_sessionfinish(
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/pluggy/_hooks.py", line 512, in __call__
    return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec
    return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall
    raise exception
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/pluggy/_callers.py", line 139, in _multicall
    teardown.throw(exception)
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/_pytest/logging.py", line 873, in pytest_sessionfinish
    return (yield)
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/pluggy/_callers.py", line 139, in _multicall
    teardown.throw(exception)
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/_pytest/terminal.py", line 960, in pytest_sessionfinish
    result = yield
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/pluggy/_callers.py", line 139, in _multicall
    teardown.throw(exception)
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/_pytest/warnings.py", line 118, in pytest_sessionfinish
    return (yield)
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/pluggy/_callers.py", line 121, in _multicall
    res = hook_impl.function(*args)
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/_pytest/junitxml.py", line 675, in pytest_sessionfinish
    logfile.write(ET.tostring(testsuites, encoding="unicode"))
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/coverage/control.py", line 454, in _should_trace
    disp = self._inorout.should_trace(filename, frame)
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/coverage/inorout.py", line 353, in should_trace
    self.set_matchers_depending_on_syspath()
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/coverage/inorout.py", line 303, in set_matchers_depending_on_syspath
    self._debug("sys.path:" + "".join(f"\n    {_dir_detail(d)}" for d in sys.path))
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/coverage/inorout.py", line 303, in <genexpr>
    self._debug("sys.path:" + "".join(f"\n    {_dir_detail(d)}" for d in sys.path))
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/coverage/inorout.py", line 189, in _dir_detail
    detail = _analyze_directory(d)
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/coverage/inorout.py", line 174, in _analyze_directory
    detail = DirectoryDetail(exists=os.path.exists(d), venv=None)
  File "/opt/pyenv/versions/3.10.6/lib/python3.10/genericpath.py", line 19, in exists
    os.stat(path)
TypeError: stat: path should be string, bytes, os.PathLike or integer, not list
Exception ignored in atexit callback: <object repr() failed>
Traceback (most recent call last):
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/coverage/control.py", line 454, in _should_trace
    disp = self._inorout.should_trace(filename, frame)
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/coverage/inorout.py", line 353, in should_trace
    self.set_matchers_depending_on_syspath()
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/coverage/inorout.py", line 303, in set_matchers_depending_on_syspath
    self._debug("sys.path:" + "".join(f"\n    {_dir_detail(d)}" for d in sys.path))
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/coverage/inorout.py", line 303, in <genexpr>
    self._debug("sys.path:" + "".join(f"\n    {_dir_detail(d)}" for d in sys.path))
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/coverage/inorout.py", line 189, in _dir_detail
    detail = _analyze_directory(d)
  File "/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.10/site-packages/coverage/inorout.py", line 174, in _analyze_directory
    detail = DirectoryDetail(exists=os.path.exists(d), venv=None)
  File "/opt/pyenv/versions/3.10.6/lib/python3.10/genericpath.py", line 19, in exists
    os.stat(path)
TypeError: stat: path should be string, bytes, os.PathLike or integer, not list
